package com.itheima.reggie.config;

import com.github.pagehelper.PageInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class MybatisConfig {
    @Bean
    public PageInterceptor pageInterceptor()
    {
        return new PageInterceptor();
    }
}
